Ad

interface Ad

Defines basic properties available for every ad type

Properties

clickThroughUrl
Link copied to clipboard
abstract val clickThroughUrl: String?
The url the user should be redirected to when clicking the ad.
data
Link copied to clipboard
abstract val data: AdData?
Holds various additional AdData.
height
Link copied to clipboard
abstract val height: Int
The height of the ad.
id
Link copied to clipboard
abstract val id: String?
Identifier for the ad.
isLinear
Link copied to clipboard
abstract val isLinear: Boolean
Determines whether an ad is linear, i.e.
mediaFileUrl
Link copied to clipboard
abstract val mediaFileUrl: String?
The corresponding media file url for the ad.
width
Link copied to clipboard
abstract val width: Int
The width of the ad.

Inheritors

LinearAd
Link copied to clipboard
OverlayAd
Link copied to clipboard